package com.ztgf.sys.models.vo;

import com.baomidou.mybatisplus.annotations.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author YUE
 * @create 2020-05-31 16:48
 */
@Data
public class SysAreaVO implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "code值")
    private String code;
    @ApiModelProperty(value = "codes")
    private String codes;
    @ApiModelProperty(value = "父类ID")
    private Long parentId;
    @ApiModelProperty(value = "状态 0正常，1删除")
    private Integer status;
    @ApiModelProperty(value = "类型 类型：0国家，1省市、2市、3区")
    private Integer type;
    @ApiModelProperty(value = "省会 省会：0否，1是 , 2直辖市")
    private Integer capital;
    @ApiModelProperty(value = "排序 倒序（值越大越靠前）")
    private Integer sort;
    @ApiModelProperty(value = "时区")
    @TableField("time_zone")
    private String timeZone;
    @ApiModelProperty(value = "搜索 X0X，0是顶级")
    private String searchKey;
    @ApiModelProperty(value = "区域子集")
    private List<SysAreaVO> sysAreaVOList;
}
